{template 'header'}
<script type="text/javascript">var sh = '{$MOD[linkurl]}search.php?catid={$catid}';</script>
<div class="wrap mb-10 mt-10 clearfix">
    <div class="cai_pos iconfont icon-ditudingwei">当前位置: <a href="{$MODULE[1][linkurl]}">首页</a> &raquo; <a href="{$MOD[linkurl]}">{$MOD[name]}</a> &raquo; {cat_pos($CAT, ' &raquo; ')}&raquo; <a href="{$MOD[linkurl]}search.php">搜索</a><div class="fr">共找到<strong class="red"> {$items} </strong>条<b class="red">{strip_tags(cat_pos($CAT, '-'))}</b>{$MOD[name]}信息</div>
    </div>
</div>

<div class="wrap">
<div class="category cldl mt-10">
          
            <dl>
                <dt class="f15">地 区</dt>
                <dd>
                     <ul id="mainCat" class="clearfix">
                  {php $mainarea = get_mainarea(0)}
                    {loop $mainarea $k $v}
                  		<li {if $k>13} class="hide" {/if}>
                   <a class="diqu"  href="{$MOD[linkurl]}search.php?areaid={$v[areaid]}&catid={$catid}" rel="nofollow">{$v[areaname]}</a></li>
                    
                    {/loop}
             		</ul>
                    <a href="JavaScript:" class="category-showmorebtn"><em>展开</em></a>  
                </dd>
            </dl>
        </div>
        
        <!--搜索条件start-->
      <div class="tool mt-10">
          <form action="{$MOD[linkurl]}search.php" id="fsearch">
    
            <div class="sort-inner clearfix">
              <div class="styles fr">
                {if $list == 0}
                <a class="style_1 hover">大图</a>
                {else}
                <a class="style_1" href="javascript:;" onclick="Go(sh+'&amp;list=0');">大图</a>
                {/if}
                {if $list == 1}
                <a class="style_0 hover">列表</a>
                {else}
                <a class="style_0" href="javascript:;" onclick="Go(sh+'&amp;list=1');">列表</a>
                {/if}
    
               </div>
              <div class="sort fl">
                <input type="hidden" name="order" value="" id="order">
                <ul class="clearfix">
                  <li class="first"> <a href="javascript:;" onclick="Dd('order').value='0';Dd('fsearch').submit();" title="综合排序" class="{if $typeid==99}link active{else}link{/if}">综合排序</a> </li>
                  {loop $TYPE $k $v}
                  <li><a href="javascript:Go('{$MOD[linkurl]}{rewrite('search.php?typeid='.$k.'&catid='.$catid)}');" title="{$v}" class="{if $typeid==$k}link active{else}link{/if}">{$v}</a></li>
                  {/loop}
                  <li class="droplist hoverSelf"><a class="link" title="价格从低到高">价格<span class="icon"></span> </a>
                    <ul>
                      <li><a href="javascript:;" onclick="Dd('order').value='3';Dd('fsearch').submit();">价格从低到高</a> </li>
                      <li><a href="javascript:;" onclick="Dd('order').value='2';Dd('fsearch').submit();">价格从高到低</a> </li>
                    </ul>
                  </li>
                </ul>
              </div>
              <div class="prices hoverSelf buy fl">
                <div class="inner">
                  <ul class="clearfix">
                    <li class="item">
                      <input class="input" type="text" name="minprice" value="" placeholder="¥">
                    </li>
                    <li class="sep">-</li>
                    <li class="item">
                      <input class="input" type="text" name="maxprice" value="" placeholder="¥">
                    </li>
                    <li class="submit"><span class="btn" onclick="Dd('fsearch').submit();">确定</span></li>
                  </ul>
                </div>
              </div>
            </div>
          </form>
   	  </div>
    	<!--搜索条件end-->
<div class="m_l mt-10 f_l">
	  	
       {if $page==1 && $kw}
      {ad($moduleid,$catid,$kw,6)}
      {load('m'.$moduleid.'_k'.urlencode($kw).'.htm')}
      {/if}
      <div class="sellWindow">
    {if $tags}
    <form method="post">
    		<div class="sell_tip" id="sell_tip" style="display:none;" title="双击关闭" ondblclick="Dh(this.id);">
			<div>
				<p>您可以</p>
				<input type="submit" value="对比选中" onclick="this.form.action='{$MOD[linkurl]}compare.php';" class="btn_1" onmouseover="this.className='btn_2'" onmouseout="this.className='btn_1'"/> 或 
				<input type="submit" value="批量询价" onclick="this.form.action='{$MOD[linkurl]}inquiry.php';" class="btn_1" onmouseover="this.className='btn_2'" onmouseout="this.className='btn_1'"/>
			</div>
		</div>		
		<div class="img_tip" id="img_tip" style="display:none;">&nbsp;</div>
{if $list==1}
{loop $tags $k $t}
<ul class="list mt10" id="item_{$t[itemid]}">
    <li class="img"><a href="{$t[linkurl]}" target="_blank" title="{$t[title]}"><img src="{imgurl($t[thumb])}" original="{imgurl($t[thumb])}" alt="{$t[title]}" title="{$t[title]}" style="display: inline; "border="0" onerror="this.src='{DT_SKIN}image/nopic100.gif'"></a></li>
    <li class="inform">
        <h2><span class="f14 blue blist"><input type="checkbox" id="check_{$t[itemid]}" name="itemid[]" value="{$t[itemid]}" onclick="sell_tip(this, {$t[itemid]});" style="vertical-align:middle"/>&nbsp;<a href="{$t[linkurl]}" target="_blank" title="{$t[title]}">{$t[title]}</a> </span></h2>
     <p class="text">介绍：{dsubstr($t[introduce], 120, '..')}</p>
    </li>
    {if $t[unit] && $t[price]>0}
    <li class="price">
    <p>￥<span class="red f14">{$t[price]}</span>/{$t[unit]}</p>
    <p>{$t[minamount]}{$t[unit]}起订</p>
    <p>关注量： {$t[hits]}</a></p>
    </li>
    {else}
    <li class="price">
    <p class="f_gray f14">面议</p>
    <p>关注量： {$t[hits]}</a></p>
    </li>
    {/if}
    <li class="sw-company">
        <p><a href="{userurl($t[username])}" class="gray orange" target="_blank">{$t[company]}</a></p>
        <p><span class="sw-mod-offerImg-company-place">{area_pos($t[areaid], '/', 2)}</span></p>
        <p>{if $t[vip]}<img src="{DT_SKIN}image/vip_{$t[vip]}.gif" alt="{VIP}" title="{VIP}:{$t[vip]}级" align="absmiddle"/>&nbsp;<a rel="nofollow" class="sw-ui-icon-mincxt-v" href="{$MODULE[2][linkurl]}grade.php" target="_blank" title="建议您优先选择VIP会员">第<em>{vip_year($t[fromtime])}</em>年</a>&nbsp;{/if}
   {if $t[validated]}<img src="{DT_SKIN}icon/qi.png" width="18" height="18" title="高级诚信企业" align="absmiddle"/>{else}<img src="{DT_SKIN}image/ico-cx-no.png" width="18" height="18" title="普通诚信企业" align="absmiddle"/>{/if} 
    {if $t[validated]}&nbsp;<img src="{DT_SKIN}icon/ico-qyrz.png" width="24" height="18" title="企业已通过认证" align="absmiddle"/>{else}<img src="{DT_SKIN}icon/ico-qyrz-no.png" width="24" height="18" title="企业未通过认证" align="absmiddle"/>{/if} </p>
</li>
    <li class="btn black">
        
        <p class="btn-msg">

        <a onclick="Go('{$path}{rewrite('inquiry.php?itemid='.$t['itemid'])}');" href="javascript:;">在线议价</a></p>
        <p class="btn-tel">
        <a target="_blank" href="{userurl($t[username])}">联系我们</a></p>
        {if $t[qq] && $DT[im_qq]}<p class="btn-qq">
            <a href="http://wpa.qq.com/msgrd?v=3&amp;uin={$t[qq]}&amp;site=qq&amp;menu=yes" qq="{$t[qq]}" target="_blank">QQ在线</a>
        </p>{/if}
    </li>
</ul>
{/loop}		
{if $pages}<div class="pages clear">{$pages}</div>{/if}

		{elseif $list==0}
        {template 'cainiao-selllist', 'tag'}
        {/if}
     
		</form>
        {else}
        {template 'noresult-sell', 'message'}
        {/if} </div>
      <div class="box01 top-reconmmend">
        <div class="header"> <a class="more" target="_blank" href="{$MODULE[2][linkurl]}{$DT[file_login]}"> 我也要出现在这里</a>
          <h3>热门推荐</h3>
        </div>
        <!--{tag("moduleid=$moduleid&length=20&condition=status=3 and thumb<>''&pagesize=5&order=edittime desc&width=160&height=160&cols=8&template=cainiao-sell-hot")}--> 
      </div>
        
        
        
        
        
		 
</div>

<div class="m_r f_r">

		{if $kw}
	<!--相关搜索-->
		<div class="jianjie box01 mt-10">
				<div class="header"><h3 class="f20">相关搜索</h3></div>
            <div class="mr10">
              
                	<div class="sch_site">
                        <ul>
                        {loop $MODULE $mod}{if $mod[moduleid]>3 && $mod[moduleid]!=$moduleid && !$mod[islink]}<li><a href="{$mod[linkurl]}search.php?kw={urlencode($kw)}">在 <span class="f_red">{$mod[name]}</span> 找 {$kw}</a></li>{/if}{/loop}
                        </ul>
                    </div>
		<!--{tag("moduleid=$moduleid&table=keyword&condition=moduleid=$moduleid and status=3 and word<>'$kw' and keyword like '%$keyword%'&pagesize=10&order=total_search desc&template=list-search_relate", -2)}-->
                 
              	
            </div>
       </div>	
       {/if}
	<!--今日搜索排行-->

		<div class="jianjie box01 mt-10">
				<div class="sponsor">{ad($moduleid,$catid,$kw,7)}</div>
            
               <div class="header"><h3 class="f20">今日搜索排行</h3></div>
            <div class="mr10">
                <div class="rank_list">
               	<!--{tag("moduleid=$moduleid&table=keyword&condition=moduleid=$moduleid and status=3 and updatetime>$today_endtime-86400&pagesize=10&order=today_search desc&key=today_search&template=list-search_rank")}-->
                </div>		
            </div>
       </div>
    <!--本周搜索排行--> 
		<div class="jianjie box01 mt-10">
				<div class="sponsor">{ad($moduleid,$catid,$kw,7)}</div>
            
               <div class="header"><h3 class="f20">本周搜索排行</h3></div>
            <div class="mr10">
                <div class="rank_list">
                    <!--{tag("moduleid=$moduleid&table=keyword&condition=moduleid=$moduleid and status=3 and updatetime>$today_endtime-86400*7&pagesize=10&order=week_search desc&key=week_search&template=list-search_rank")}-->
                </div>		
            </div>
       </div>

	 <!--本月搜索排行-->
     	<div class="jianjie box01 mt-10">
				<div class="sponsor">{ad($moduleid,$catid,$kw,7)}</div>
            
               <div class="header"><h3 class="f20">本月搜索排行</h3></div>
            <div class="mr10">
                <div class="rank_list">
                 	<!--{tag("moduleid=$moduleid&table=keyword&condition=moduleid=$moduleid and status=3 and updatetime>$today_endtime-86400*30&pagesize=10&order=month_search desc&key=month_search&template=list-search_rank")}-->
                </div>		
            </div>
       </div>

 
<!--广告推荐开始-->
            <div class="mt-15">
            <a href="#" target="_blank"><img src="{DT_SKIN}picture/zhaos1.jpg" alt="招商" width="240" height="240"/></a>					           </div>
<!--广告推荐结束-->
 
	 
	 
</div>
</div>




{template 'footer'}